package com.sso.api.web.dao;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;




import com.spring.membercardapi.web.requestmodel.ApplicationUpdate;
import com.sso.api.web.model.*;
public interface SsoMapper {
	String getIDByPhone(Map<String, Object> parm);
	HashMap selectUserByID(HashMap hm);
	
	int updatePointReamin(HashMap<String, Object> hm);
	BigDecimal selectReaminPoint(HashMap<String, Object> hm);
	
	String selectRealNameByID(String c_user_id);
	
	String getMemberCount(HashMap<String, Object> hm);
	int updateUserNumber(HashMap<String, Object> hm);
	int updateUserFamilyNumber(HashMap<String, Object> hm);
	String getMemberByID(HashMap<String, Object> hm);
	
	SsoUser  getUserByID(String id);
	
	int getUserCountByPhone(HashMap<String, Object> parm);
	int insertFamily(HashMap<String, Object> parm);
	int insertUser(RequestUser user);
	int updateUser(RequestUser user);
	List<SsoFamily> getFamilyDetailByPhone(HashMap hm);
	
	List<HashMap> getIDsByPhone(HashMap hm);
   String getIDsByCardNumber(HashMap hm);
   HashMap getUserByCardNumber(HashMap hm);
   String getCardNumberByPhone(String str);
   
   int getMemberIsValid(HashMap hm);
   
   //String getCardNumberByPhone(String phone);
   int updateFamily(HashMap hm);
   
   int updateFamily2(com.spring.membercardapi.web.requestmodel.ApplicationUpdate applicationUpdate);
   int updateFamily3(com.spring.rechargeapi.web.requestModel.ApplicationUpdate applicationUpdate);
   
   String getCardOutNumberByCardNumber(String card_number);

}
